package sosopkpk;

import java.util.Scanner;

public class Ch03EX_01 {
	// 3장 실습문제 1번
	public static void main(String[] args) {
		int num;
		String title = "임의의 정수를 입력하시오";
		String st = "*";
		Scanner sc = null;
		
		sc = new Scanner(System.in);
		System.out.println(title);
		num = sc.nextInt();
		
		for(int i = 1; i <= num; ++i) {
			for(int j = 1; j <= (num-i)+1; ++j) {
				System.out.print(st);
			}
			System.out.println();
		}
	}
}
